package fr.vvins.core.page.entity;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.OneToMany;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(schema="www",name="WWW_LAYOUT")
@PrimaryKeyJoinColumn(name="TPL_ID")

public class Layout extends Template implements Serializable {

	private static final long serialVersionUID = 8278614775649116322L;
	
	@OneToMany(mappedBy="layout")
	private List<Zone> zones;

	public List<Zone> getZones() {
		return zones;
	}

	public void setZones(List<Zone> zones) {
		this.zones = zones;
	}

}
